package com.kkb.service;

import com.kkb.mapper.DegreeMapper;
import com.kkb.pojo.Degree;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class DegreeService {
    @Resource
    DegreeMapper degreeMapper;

    public List<Degree> queryAll(){
        return degreeMapper.selectByExample(null);
    }
}
